package com.cyj.springbootservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyj.springbootservice.api.entity.PostInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021/10/13 10:13
 **/
@Mapper
public interface PostInfoMapper extends BaseMapper<PostInfo> {

    List<PostInfo> selectPostInfo(@Param("minlng") double minlng, @Param("maxlng") double maxlng,
                                  @Param("minlat") double minlat, @Param("maxlat") double maxlat);
}